home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / print / gprint.txt < prev    next >
Text File  |  1989-06-20  |  3KB  |  67 lines

  1. Recently John McCann placed a file called PC-FIX.TXT on NetWare
  2. that explained how to modify Capture and Nprint to access a
  3. "global" print job configuration file.  Although this is a good
  4. first step, it seemed to me that there should be a way for a
  5. Supervisor to easily create the global file also.  My solution
  6. requires modification of PRINTCON.EXE, CAPTURE.EXE and
  7. NPRINT.EXE.  By keeping two versions of these utilities, users
  8. can access either the global file or their own personal files.
  9.  
  10. Copy PRINTCON.EXE to PPRTCON.EXE (for Personal PrintCon)
  11. Copy CAPTURE.EXE to PCAPTURE.EXE (for Personal Capture)
  12. Copy NPRINT.EXE to PNPRINT.EXE (for Personal NPrint)
  13.  
  14. Since I never learned to use DEBUG, I use WordPerfect's P-Edit,
  15. which comes with WordPerfect Library and WordPerfect Office. 
  16. With P-Edit, editing a binary file is similar to editing a text
  17. file with WordPerfect.
  18.  
  19. To edit a binary file with P-Edit, you would type:
  20.  
  21.       PE/B filename.ext <Enter>
  22.  
  23. The /B tells P-Edit to ignore ^Zs, etc.  The filename.ext will be
  24. PRINTCON.EXE, CAPTURE.EXE, and NPRINT.EXE (you have already
  25. copied them to new file names so that you can restore them if
  26. necessary).  You can also retrieve the file after entering P-Edit
  27. just like you would with WordPerfect.
  28.  
  29. IMPORTANT: Put P-Edit in typeover mode by hitting the <Ins> key
  30. if necessary.
  31.  
  32. Using the FIND key (<F2>), find the word "mail".  You will find
  33. one or more text strings such as "sys:mail\%lx\%s^@printcon.dat". 
  34. Type over each similar string found with:
  35.  
  36.       sys:public\printcon.dat
  37.  
  38. Type over whatever remains of the old string with "^@"
  39. (<Ctrl><@>), the "null" character.  PrintCon has strings in both
  40. uppercase and lower case.  I don't know if that is important, so
  41. I used the same case as the original.
  42.  
  43. I would suggest moving your new version of PRINTCON.EXE to the
  44. SYS:SYSTEM directory.
  45.  
  46. The new versions of these utilities will access a common
  47. PRINTCON.DAT file in the SYS:PUBLIC directory.  
  48.  
  49. I haven't really tested this well, especially in a multi-server
  50. environment, but it all seems to work so far.  It would be nice
  51. to remove the "Supervisor - Copy Print Job Configurations" option
  52. from the menu, but I am not enough of a programmer to even begin
  53. to understand how to do that.
  54.  
  55. Good Luck,
  56.  
  57.  
  58.  
  59. Patrick H. Corrigan.
  60.  
  61.  
  62. PS:  My new book, "Building Local Area Networks with Novell's
  63. NetWare (with co-author Aisling Guy) should be on bookstore
  64. shelves by the end of June.  Buy it! We need the money.
  65.  
  66.  
  67.